<?php

namespace longhu\services\easywechat\client;

use EasyWeChat\Kernel\Contracts\AccessToken;

class MyToken implements AccessToken
{
    public function getToken():string
    {
        return  '80_bZD6eyHkuonFAmRykR7KzjoPd0n0QW17GkqROpVWdRJAlRxB7pimxRkCdCR6jDSj8wC7rhX5fIELgv919LQKEgUee_gv9Bm1Rapg_PtyisE';
    }

    public function toQuery():array
    {
        return  [
            'access_token' => $this->getToken()
        ];
    }
}